Import yt_3.2.3-2.debian.tar.xz
authorBW Keller <malzraa@gmail.com>
Tue, 13 Sep 2016 02:50:04 +0000 (03:50 +0100)
committerBW Keller <malzraa@gmail.com>
Tue, 13 Sep 2016 02:50:04 +0000 (03:50 +0100)
[dgit import tarball yt 3.2.3-2 yt_3.2.3-2.debian.tar.xz]

17 files changed:
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
patches/fix-ftbfs-32bit.patch [new file with mode: 0644]
patches/fix-ftbfs-i386.patch [new file with mode: 0644]
patches/fix_reason_py3.patch [new file with mode: 0644]
patches/jquery_reason.patch [new file with mode: 0644]
patches/man-page.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
patches/setup.patch [new file with mode: 0644]
python-yt.manpages [new file with mode: 0644]
python3-yt.manpages [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..ad68067
--- /dev/null
+++ b/changelog
@@ -0,0 +1,27 @@
+yt (3.2.3-2) unstable; urgency=medium
+
+  * ACTUALLY fixes build failures on i386. Closes: #803275
+
+ -- BW Keller <malzraa@gmail.com>  Mon, 12 Sep 2016 22:50:04 -0400
+
+yt (3.2.3-1) unstable; urgency=medium
+
+  * Upgrade to upstream version 3.2.3
+  * Remove dependence on libpng. Closes: #810709
+  * Fixes build failures. Closes: #810209, #803275
+  * Maintainer has changed. Closes: #817200
+
+ -- BW Keller <malzraa@gmail.com>  Tue, 6 Sep 2016 16:35:35 -0400
+
+yt (3.2.1-2) unstable; urgency=low
+
+  * Backport fix for mpl-1.5.
+  * Correct Python dependencies to fix FTBS. Closes: #802428
+
+ -- Kacper Kowalik <xarthisius.kk@gmail.com>  Thu, 22 Oct 2015 19:57:35 +0000
+
+yt (3.2.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #789976)
+
+ -- Kacper Kowalik <xarthisius.kk@gmail.com>  Tue, 28 Jul 2015 20:08:18 +0000
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..93eecc5
--- /dev/null
+++ b/control
@@ -0,0 +1,75 @@
+Source: yt
+Section: python
+Priority: optional
+Maintainer: Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>
+Uploaders: BW Keller <malzraa@gmail.com>
+Build-Depends: cython (>= 0.22),
+               cython3 (>= 0.22),
+               debhelper (>= 9),
+               dh-python,
+               libpython-dev,
+               libpython3-dev,
+               python-all-dev,
+               python-h5py,
+               python-matplotlib,
+               python-nose,
+               python-numpy,
+               python-setuptools,
+               python-sympy,
+               python-tk,
+               python3-all-dev,
+               python3-h5py,
+               python3-matplotlib,
+               python3-nose,
+               python3-numpy,
+               python3-setuptools,
+               python3-sympy,
+               python3-tk
+Standards-Version: 3.9.8
+Homepage: http://yt-project.org/
+Vcs-Git: https://anonscm.debian.org/cgit/debian-astro/packages/yt.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-astro/packages/yt.git
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+
+Package: python-yt
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends},
+         python-h5py,
+         python-matplotlib,
+         python-numpy (>= 1:1.6.1),
+         python-numpy-abi9,
+         python-sympy
+Suggests: python-astropy,
+          python-scipy,
+          python-pyx
+Description: Framework for analyzing and visualizing simulation data (Python 2)
+ The yt project aims to produce an integrated science environment for
+ collaboratively asking and answering astrophysical questions. To do so, it will
+ encompass the creation of initial conditions, the execution of simulations, and
+ the detailed exploration and visualization of the resultant data. It will also
+ provide a standard framework based on physical quantities interoperability
+ between codes.  
+ .
+ This package contains the Python 2 version of the package.
+
+Package: python3-yt
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends},
+         python3-h5py,
+         python3-matplotlib,
+         python3-numpy (>= 1:1.6.1),
+         python3-numpy-abi9,
+         python3-sympy
+Suggests: python3-astropy,
+          python3-scipy,
+          python3-pyx
+Description: Framework for analyzing and visualizing simulation data (Python 3)
+ The yt project aims to produce an integrated science environment for
+ collaboratively asking and answering astrophysical questions. To do so, it will
+ encompass the creation of initial conditions, the execution of simulations, and
+ the detailed exploration and visualization of the resultant data. It will also
+ provide a standard framework based on physical quantities interoperability
+ between codes.  
+ .
+ This package contains the Python 3 version of the package.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..85e4326
--- /dev/null
+++ b/copyright
@@ -0,0 +1,212 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: yt
+Upstream-Contact: Ben Keller <malzraa@gmail.com>
+Source: http://yt-project.org/
+
+Files: yt/utilities/answer_testing/xunit.py 
+Copyright: Jason Pellerin,
+  (c) 2005 Nilton Volpato
+License: LGPL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ . 
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
+
+
+Files: yt/pmods.py
+Copyright: (c) 2011, Lawrence Livermore National Security, LLC.
+License: LNLL-BSD
+ The modifications to this code are copyright (c) 2011, Lawrence
+ Livermore National Security, LLC. Produced at the Lawrence Livermore
+ National Laboratory. Written by Tim Kadich and Asher Langton
+ <langton2@llnl.gov>. Released as LLNL-CODE-522751 under the name
+ SmartImport.py, version 1.0. All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the disclaimer below.
+ .
+ - Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the disclaimer (as noted below)
+   in the documentation and/or other materials provided with the
+   distribution.
+ .
+ - Neither the name of the LLNS/LLNL nor the names of its contributors
+   may be used to endorse or promote products derived from this
+   software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE
+ LIVERMORE NATIONAL SECURITY, LLC, THE U.S. DEPARTMENT OF ENERGY OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ .
+ Additional BSD Notice
+ .
+ 1. This notice is required to be provided under our contract with the
+ U.S. Department of Energy (DOE). This work was produced at Lawrence
+ Livermore National Laboratory under Contract No. DE-AC52-07NA27344
+ with the DOE.
+ .
+ 2. Neither the United States Government nor Lawrence Livermore
+ National Security, LLC nor any of their employees, makes any warranty,
+ express or implied, or assumes any liability or responsibility for the
+ accuracy, completeness, or usefulness of any information, apparatus,
+ product, or process disclosed, or represents that its use would not
+ infringe privately-owned rights.
+ .
+ 3. Also, reference herein to any specific commercial products,
+ process, or services by trade name, trademark, manufacturer or
+ otherwise does not necessarily constitute or imply its endorsement,
+ recommendation, or favoring by the United States Government or
+ Lawrence Livermore National Security, LLC. The views and opinions of
+ authors expressed herein do not necessarily state or reflect those of
+ the United States Government or Lawrence Livermore National Security,
+ LLC, and shall not be used for advertising or product endorsement
+ purposes.
+
+Files: yt/frontends/artio/artio_headers/*
+Copyright: (c) 2012-2013, Douglas H. Rudd
+License: LGPL-3
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ . 
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/LGPL-3'.
+Comment: This code is derived from knee.py, which was included in the Python 
+  2.6 distribution.
+
+Files: yt/extern/bottle.py yt/extern/rocket.py yt/extern/six.py yt/utilities/poster/* yt/utilities/pyparselibconfig/libconfig.py
+Copyright: (c) 2010, Marcel Hellkamp,
+  (c) 2011 Timothy Farrell
+  (c) 2010-2014 Benjamin Peterson
+  (c) 2011 Chris AtLee
+  (c) 2013, Samuel Skillman
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: yt/extern/functools32.py
+Copyright: (C) 2006-2010 Python Software Foundation
+License: PSF
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using this software ("Python") in source or binary form and
+ its associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
+ analyze, test, perform and/or display publicly, prepare derivative works,
+ distribute, and otherwise use Python alone or in any derivative version,
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+ 2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python
+ alone or in any derivative version prepared by Licensee.
+ . 
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python.
+ .
+ 4. PSF is making Python available to Licensee on an "AS IS"
+ basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee.  This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+
+Files: *
+Copyright: Anne M. Archibald 2008,
+  (c) Damian Eads, 2007-2008,
+  (c) 2007-2011 John Tsiombikas <nuclear@siggraph.org>,
+  (c) 2006-2013, Matthew Turk <matthewturk@gmail.com>,
+  (c) 2013-, yt Development Team,
+  2015 Kacper Kowalik <xarthisius.kk@gmail.com> (Debian files)
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+ .
+ * Neither the name of the Astropy Team nor the names of its contributors may
+   be used to endorse or promote products derived from this software without
+   specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
diff --git a/patches/fix-ftbfs-32bit.patch b/patches/fix-ftbfs-32bit.patch
new file mode 100644 (file)
index 0000000..81d07da
--- /dev/null
@@ -0,0 +1,14 @@
+Description: Fix remaining 32-bit FTBFS cause\r
+Author:  Ole Streicher <olebole@debian.org>\r
+--- a/yt/geometry/particle_smooth.pyx\r
++++ b/yt/geometry/particle_smooth.pyx\r
+@@ -349,8 +349,7 @@\r
+         # Note that what we will be providing to our processing functions will\r
+         # actually be indirectly-sorted fields.  This preserves memory at the\r
+         # expense of additional pointer lookups.\r
+-        pind = np.argsort(pdoms)\r
+-        pind = np.asarray(pind, dtype='int64', order='C')\r
++        pind = np.asarray(np.argsort(pdoms), dtype='int64', order='C')\r
+         # So what this means is that we now have all the oct-0 particle indices\r
+         # in order, then the oct-1, etc etc.\r
+         # This now gives us the indices to the particles for each domain.\r
diff --git a/patches/fix-ftbfs-i386.patch b/patches/fix-ftbfs-i386.patch
new file mode 100644 (file)
index 0000000..6bb8131
--- /dev/null
@@ -0,0 +1,13 @@
+Description: Fix remaining i386 FTBFS\r
+Author:  Ole Streicher <olebole@debian.org>\r
+--- a/yt/utilities/tests/test_interpolators.py\r
++++ b/yt/utilities/tests/test_interpolators.py\r
+@@ -49,7 +49,7 @@\r
+                np.mgrid[0.0:1.0:64j, 0.0:1.0:64j, 0.0:1.0:64j]))\r
+     tfi = lin.TrilinearFieldInterpolator(random_data,\r
+             (0.0, 1.0, 0.0, 1.0, 0.0, 1.0), "xyz", True)\r
+-    yield assert_array_equal, tfi(fv), random_data\r
++    yield assert_array_almost_equal, tfi(fv), random_data\r
\r
+     # randomly spaced bins\r
+     size = 64\r
diff --git a/patches/fix_reason_py3.patch b/patches/fix_reason_py3.patch
new file mode 100644 (file)
index 0000000..b7abfa6
--- /dev/null
@@ -0,0 +1,13 @@
+Author: Ben Keller <malzraa@gmail.com>
+Description: use python 3 compatible syntax with reason
+--- a/yt/gui/reason/basic_repl.py
++++ b/yt/gui/reason/basic_repl.py
+@@ -78,7 +78,7 @@
+         sys.stdout = sys.stderr = out
+         try:
+             try:
+-                exec code in self.locals
++                exec(code in self.locals)
+             except:
+                 result = traceback.format_exc()
+             else:
diff --git a/patches/jquery_reason.patch b/patches/jquery_reason.patch
new file mode 100644 (file)
index 0000000..61d5ede
--- /dev/null
@@ -0,0 +1,13 @@
+Author: Ben Keller <malzraa@gmail.com>
+Description: use libjs-jquery for reason GUI
+--- a/yt/gui/reason/html/map_index.html
++++ b/yt/gui/reason/html/map_index.html
+@@ -4,7 +4,7 @@
+ <!-- Leaflet JavaScript -->
+ <script type="text/javascript" src="/reason-js/leaflet/leaflet.js"></script>
+ <link rel="stylesheet" href="/reason-js/leaflet/leaflet.css" />
+-<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
++<script type="text/javascript" src="/javascript/jquery/jquery.js"></script>
+ <script type="text/javascript">
+   $(document).ready(function() {
+       // initialize the map on the "map" div with a given center and zoom 
diff --git a/patches/man-page.patch b/patches/man-page.patch
new file mode 100644 (file)
index 0000000..784ab12
--- /dev/null
@@ -0,0 +1,207 @@
+Author: Kacper Kowalik <xarthisius.kk@gmail.com>
+Description: Add man page for commandline utilities
+--- /dev/null
++++ b/doc/yt.1
+@@ -0,0 +1,99 @@
++.TH YT "1" "August 2015" "yt 3.2.3-1" "User Commands"
++.SH NAME
++yt \- command-line tool allowing to access some of yt's basic functionality without opening a python interpreter.
++.SH DESCRIPTION
++The tools is a collection of subcommands. These can quickly making plots of
++slices and projections through a dataset, updating yt's codebase, print
++basic statistics about a dataset, launch an IPython notebook session, and more.
++.TP
++usage: yt [\-h] [\-\-config CONFIG] [\-\-paste] [\-\-paste\-detailed] [\-\-detailed] [\-\-rpdb] [\-\-parallel] [\-\-version] subcommand
++.PP
++yt command line arguments
++.SS "optional arguments:"
++.TP
++\fB\-h\fR, \fB\-\-help\fR
++show this help message and exit
++.TP
++\fB\-\-config\fR CONFIG
++Set configuration option, in the form param=value
++.TP
++\fB\-\-paste\fR
++Paste traceback to paste.yt\-project.org
++.TP
++\fB\-\-paste\-detailed\fR
++Paste a detailed traceback with local variables to
++paste.yt\-project.org
++.TP
++\fB\-\-detailed\fR
++Display detailed traceback.
++.TP
++\fB\-\-rpdb\fR
++Enable remote pdb interaction (for parallel
++debugging).
++.TP
++\fB\-\-parallel\fR
++Run in MPI\-parallel mode (must be launched as an MPI
++task)
++.TP
++\fB\-\-version\fR
++show program's version number and exit
++.SS "subcommands:"
++.TP
++help
++Print help message
++.TP
++bugreport
++Report a bug in yt
++.TP
++hub_register
++Register a user on the Hub: http://hub.yt\-project.org/
++.TP
++instinfo
++Get some information about the yt installation
++.TP
++version
++Get some information about the yt installation
++.TP
++load
++Load a single dataset into an IPython instance
++.TP
++mapserver
++Serve a plot in a GMaps\-style interface
++.TP
++pastebin
++Post a script to an anonymous pastebin
++.TP
++pastebin_grab
++Print an online pastebin to STDOUT for local use.
++.TP
++upload_notebook
++Upload an IPython notebook to hub.yt\-project.org.
++.TP
++plot
++Create a set of images
++.TP
++rpdb
++Connect to a currently running (on localhost) rpd
++session. Commands run with \fB\-\-rpdb\fR will trigger an rpdb
++session with any uncaught exceptions.
++.TP
++notebook
++Run the IPython Notebook
++.TP
++stats
++Print stats and max/min value of a given field (if
++requested), for one or more datasets (default field is
++density)
++.TP
++update
++Update the yt installation to the most recent version
++.TP
++upload_image
++Upload an image to imgur.com. Must be PNG.
++.SH AUTHORS
++.B yt
++was primarily written by yt Development Team.
++.SH "SEE ALSO"
++Full documentation for the
++.B yt
++commandline can be found at http://yt-project.org/doc/
+--- /dev/null
++++ b/doc/iyt.1
+@@ -0,0 +1,45 @@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
++.TH IYT "1" "April 2016" "iyt 3.2.3-1" "User Commands"
++.SH NAME
++iyt \- iyt - Tools for Interactive Computing with yt and Python
++.SH DESCRIPTION
++usage: iyt [\-h] [\-\-config CONFIG] [\-\-paste] [\-\-paste\-detailed] [\-\-detailed]
++.IP
++[\-\-rpdb] [\-\-parallel]
++.PP
++yt command line arguments
++.SS "optional arguments:"
++.TP
++\fB\-h\fR, \fB\-\-help\fR
++show this help message and exit
++.TP
++\fB\-\-config\fR CONFIG
++Set configuration option, in the form param=value
++.TP
++\fB\-\-paste\fR
++Paste traceback to paste.yt\-project.org
++.TP
++\fB\-\-paste\-detailed\fR
++Paste a detailed traceback with local variables to paste
++\&.yt\-project.org
++.TP
++\fB\-\-detailed\fR
++Display detailed traceback.
++.TP
++\fB\-\-rpdb\fR
++Enable remote pdb interaction (for parallel debugging).
++.TP
++\fB\-\-parallel\fR
++Run in MPI\-parallel mode (must be launched as an MPI task)
++.SH "SEE ALSO"
++The full documentation for
++.B iyt
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B iyt
++programs are properly installed at your site, the command
++.IP
++.B info iyt
++.PP
++should give you access to the complete manual.
+--- /dev/null
++++ b/doc/yt_lodgeit.1
+@@ -0,0 +1,52 @@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
++.TH YT_LODGEIT.PY "1" "April 2016" "yt_lodgeit.py 3.2.3-1" "User Commands"
++.SH NAME
++yt_lodgeit.py \- yt_lodgeit - pastebin tool for yt
++.SH SYNOPSIS
++.B yt_lodgeit.py
++[\fI\,options\/\fR] [\fI\,FILE \/\fR...]
++.SH DESCRIPTION
++Read the files and paste their contents to http://paste.yt\-project.org/.
++If no file is given, read from standard input.
++If multiple files are given, they are put into a single paste.
++.SH OPTIONS
++.TP
++\fB\-h\fR, \fB\-\-help\fR
++show this help message and exit
++.TP
++\fB\-v\fR, \fB\-\-version\fR
++Print script version
++.TP
++\fB\-L\fR, \fB\-\-languages\fR
++Retrieve a list of supported languages
++.TP
++\fB\-l\fR LANGUAGE, \fB\-\-language\fR=\fI\,LANGUAGE\/\fR
++Used syntax highlighter for the file
++.TP
++\fB\-e\fR ENCODING, \fB\-\-encoding\fR=\fI\,ENCODING\/\fR
++Specify the encoding of a file (default is utf\-8 or
++guessing if available)
++.TP
++\fB\-b\fR, \fB\-\-open\-browser\fR
++Open the paste in a web browser
++.TP
++\fB\-p\fR, \fB\-\-private\fR
++Paste as private
++.TP
++\fB\-\-no\-clipboard\fR
++Don't copy the url into the clipboard
++.TP
++\fB\-\-download\fR=\fI\,UID\/\fR
++Download a given paste
++.SH "SEE ALSO"
++The full documentation for
++.B yt_lodgeit.py
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B yt_lodgeit.py
++programs are properly installed at your site, the command
++.IP
++.B info yt_lodgeit.py
++.PP
++should give you access to the complete manual.
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..2c7dc0a
--- /dev/null
@@ -0,0 +1,6 @@
+setup.patch
+fix_reason_py3.patch
+jquery_reason.patch
+man-page.patch
+fix-ftbfs-32bit.patch
+fix-ftbfs-i386.patch
diff --git a/patches/setup.patch b/patches/setup.patch
new file mode 100644 (file)
index 0000000..a74ef9a
--- /dev/null
@@ -0,0 +1,13 @@
+Author: BW Keller <malzraa@gmail.com>
+Description: Only install lodgeit and iyt scripts
+--- a/setup.py
++++ b/setup.py
+@@ -176,7 +176,7 @@
+     config.make_config_py()
+     # config.make_svn_version_py()
+     config.add_subpackage('yt', 'yt')
+-    config.add_scripts("scripts/*")
++    config.add_scripts("scripts/iyt", "scripts/yt_lodgeit.py")
+     return config
diff --git a/python-yt.manpages b/python-yt.manpages
new file mode 100644 (file)
index 0000000..edc2b9c
--- /dev/null
@@ -0,0 +1,3 @@
+doc/yt2.1
+doc/iyt2.1
+doc/yt_lodgeit2.1
diff --git a/python3-yt.manpages b/python3-yt.manpages
new file mode 100644 (file)
index 0000000..2e3a6d0
--- /dev/null
@@ -0,0 +1,3 @@
+doc/yt.1
+doc/iyt.1
+doc/yt_lodgeit.1
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..36c2b25
--- /dev/null
+++ b/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=yt
+export http_proxy=127.0.0.1:9
+
+%:
+       dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_fixperms:
+       dh_fixperms
+       chmod 644 $(CURDIR)/debian/python3-yt/usr/lib/python3/dist-packages/yt/gui/reason/html/index.html
+       chmod 644 $(CURDIR)/debian/python-yt/usr/lib/python*/dist-packages/yt/gui/reason/html/index.html
+
+override_dh_auto_install:
+       dh_auto_install
+       mv $(CURDIR)/debian/python-yt/usr/bin/yt $(CURDIR)/debian/python-yt/usr/bin/yt2
+       mv $(CURDIR)/debian/python-yt/usr/bin/yt_lodgeit.py $(CURDIR)/debian/python-yt/usr/bin/yt_lodgeit2
+       mv $(CURDIR)/debian/python3-yt/usr/bin/yt_lodgeit.py $(CURDIR)/debian/python3-yt/usr/bin/yt_lodgeit
+       mv $(CURDIR)/debian/python-yt/usr/bin/iyt $(CURDIR)/debian/python-yt/usr/bin/iyt2
+
+override_dh_installman:
+       cp doc/yt.1 doc/yt2.1
+       cp doc/yt_lodgeit.1 doc/yt_lodgeit2.1
+       cp doc/iyt.1 doc/iyt2.1
+       dh_installman
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+       python setup.py build_ext -i && nosetests
+endif
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..df7b9d1
--- /dev/null
@@ -0,0 +1,18 @@
+Bug-Database: https://bitbucket.org/yt_analysis/yt/issues?status=new&status=open
+Bug-Submit: https://bitbucket.org/yt_analysis/yt/issues/new
+Contact: yt-dev@lists.spacepope.org
+Gallery: http://yt-project.org/gallery.html
+Name: yt
+Reference:
+ Author: Turk, M.J. and Smith, B.D. and Oishi, J.S. and Skory, S. and
+      Skillman, S.W. and Abel, T. and Norman, M.L.
+ DOI: 10.1088/0067-0049/192/1/9
+ Eprint: http://arxiv.org/pdf/1011.3514
+ Journal: ApJS
+ Pages: 9
+ Volume: 192
+ Year: 2011
+ Title: "yt: A Multi-code Analysis Toolkit for Astrophysical Simulation Data"
+ URL: http://adsabs.harvard.edu/abs/2011ApJS..192....9T
+Repository: ssh://hg@bitbucket.org/yt_analysis/yt
+Repository-Browse: https://bitbucket.org/yt_analysis/yt/
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..14e90bb
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/yt/yt-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))